P+ - Donkey Kong - Common Subroutine 0x8054c1f8
- CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
- PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
- PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
- CreateInterrupt { interrupt_id: Some(10036), action: CaptureCut, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
- PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
- Return
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
- CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (Always) }
- ChangeSubactionRestartFrame(CaptureCut)
- Return
- if ((InternalConstantInt(PreviousAction) Equal scalar(64)))
- FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt (0xcc6) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: -1 }
- SetVelocity { x_vel: 0.0, y_vel: 0.0 }
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(7))), y_vel: Variable(InternalConstantInt(Address(3271))) }
- ChangeSubactionRestartFrame(CaptureJump)
- Return